package com.edu.lxshpc.dto;


import com.edu.lxshpc.pojo.User;
import lombok.Data;

/**
 * @author zgh
 * @date 2023/10/27
 */
@Data
public class UserDto extends User{
    @Override
    public void setId(Long id) {
        super.setId(id);
    }

    /**
     * 确认密码
     */
    private String repass;
    /**
     * 密码
     */
    private String password;
    private String newPass;
    /**
     * 用户名，手机号
     */
    private String username;
    /**
     * 验证码
     */
    private String code;

    @Override
    public String toString() {
        return "UserDto{" +
                "repass='" + repass + '\'' +
                ", password='" + password + '\'' +
                ", newPass='" + newPass + '\'' +
                ", username='" + username + '\'' +
                ", code='" + code + '\'' +
                '}';
    }
}
